<?php
class InitHook{
	public function run(){
		if(Q('m')!='Install' && !is_file('CMS/Install/lock.php')){
			go('Install/Index/install');
		}
	}
}